home *** CD-ROM | disk | FTP | other *** search
- ID_BUTTON = 0
- ID_FRAME = 7
- PGUI_1STBUTTON_DOWN = 0
- PGUI_1STBUTTON_UP = 1
- PGUI_1STBUTTON_CLCK = 2
- PGUI_1STBUTTON_DBLCLCK = 3
- PGUI_1STBUTTON_DRAG = 4
- PGUI_1STBUTTON_DROP = 5
- PGUI_2NDBUTTON_DOWN = 6
- PGUI_2NDBUTTON_UP = 7
- PGUI_2NDBUTTON_CLCK = 8
- PGUI_2NDBUTTON_DBLCLCK = 9
- PGUI_2NDBUTTON_DRAG = 10
- PGUI_2NDBUTTON_DROP = 11
- PGUI_POINTER_MOVE = 12
- PGUI_POINTER_HOVER = 13
- PGUI_POINTER_LEAVE = 14
- PGUI_POINTER_DRAG_HOVER = 15
- PGUI_POINTER_DRAG_LEAVE = 16
- PGUI_CHAR_PRESSED = 17
- PGUI_KEY_PRESSED = 18
- PGUI_VALUE_CHANGED = 19
- PGUI_RELEASE_FOCUS = 20
- PGUI_INITIALISATION = 21
- PGUI_ANIMATION_FINISHED = 22
-
- CreateGUI("difficulty");
-
- id=GUIADDCONTROL {
- Parent = 0,
- Name = "escapeFrame",
- Title = "escapeFrame",
- ControlType= ID_FRAME,
- BoundRect = {0,0,1024,768},
- Texture = "GUI/InGameMenu.dds",
- Rec1STTexture = {0,250,1,251},
- };
-
- GUIADDCONTROL {
- Parent = id,
- Name = "Diffic",
- Title = "Diffic",
- ControlType= ID_FRAME,
- BoundRect = {412,260,612,481},
- Texture = "GUI/InGameMenu.dds",
- Rec1STTexture = {0,0,200,221},
- };
-
-
- GUIADDCONTROL {
- Parent = id,
- Name = "Easy",
- ControlType= ID_BUTTON,
- BoundRect = {478,326,587,354},
- Texture = "GUI/InGameMenu.dds",
- Title = "Yes",
- Rec1STTexture = {0,250,1,251},
- Rec2NDTexture = {354,0,464,29},
- Rec3RDTexture = {0,250,1,251},
- Rec4THTexture = {0,250,1,251},
-
- MESSAGE_MAP = {
- {PGUI_1STBUTTON_CLCK , "SETDLGRESULT_YES"},
- },
- };
-
- GUIADDCONTROL {
- Parent = id,
- Name = "Normal",
- ControlType= ID_BUTTON,
- BoundRect = {478,374,587,403},
- Texture = "GUI/InGameMenu.dds",
- Title = "No",
- Rec1STTexture = {0,250,1,251},
- Rec2NDTexture = {354,29,464,58},
- Rec3RDTexture = {0,250,1,251},
- Rec4THTexture = {0,250,1,251},
-
- MESSAGE_MAP = {
- {PGUI_1STBUTTON_CLCK , "SETDLGRESULT_NO"},
- },
- };
-
- GUIADDCONTROL {
- Parent = id,
- Name = "Hard",
- ControlType= ID_BUTTON,
- BoundRect = {478,422,587,450},
- Texture = "GUI/InGameMenu.dds",
- Title = "No",
- Rec1STTexture = {0,250,1,251},
- Rec2NDTexture = {354,58,464,87},
- Rec3RDTexture = {0,250,1,251},
- Rec4THTexture = {0,250,1,251},
-
- MESSAGE_MAP = {
- {PGUI_1STBUTTON_CLCK , "SETDLGRESULT_LOAD"},
- },
- };
-
-